package com.pro.service;

import com.pro.pojo.JsUserFeedback;

import java.util.List;

/**
 * ClassName:JsUserFeedbackService
 * Package:com.pro.service
 * Description: 意见反馈service
 *
 * @Date:2022/1/14 上午 11:38
 * @Author: WYH
 */
public interface JsUserFeedbackService {
    /**
     * @Author WYH
     * @Description //TODO 查询所有反馈
     * @Date 上午 11:41 2022/1/14
     * @Param feedbackType,feedbackStatus,limit,page
     * @return List<JsUserFeedback>
     **/
    List<JsUserFeedback> getAllUserFeedBack(String feedbackType,String feedbackStatus,Integer limit,Integer page);

    /**
     * @Author WYH
     * @Description //TODO 计算所有反馈个数
     * @Date 上午 11:50 2022/1/14
     * @Param feedbackType,feedbackStatus,limit,page
     * @return List<JsUserFeedback>
     **/
    Integer count(String feedbackType,String feedbackStatus);

    /**
     * @Author WYH
     * @Description //TODO 删除反馈
     * @Date 下午 3:40 2022/1/14
     * @Param feedbackId
     * @return  true | false
     **/
    Boolean delFeebdack(Integer feedbackId);

    /**
     * @Author WYH
     * @Description //TODO 审核
     * @Date 下午 8:47 2022/1/14
     * @Param jsUserFeedback
     * @return  true | false
     **/
    Boolean UpdateFeedback(JsUserFeedback jsUserFeedback);

    /**
     * @Author WYH
     * @Description //TODO 查询审核详情
     * @Date 上午 10:25 2022/1/15
     * @Param feedbackId
     * @return  JsUserFeedback
     **/
    JsUserFeedback seeFeedback(Integer feedbackId);
}
